package main

import "fmt"

type B struct {
	age int
}

func (b *B) change(age int) { b.age = age }

func (b B) write() { fmt.Println("b is: ", b) }

func main() {
	b := new(B)
	b.change(3)
	fmt.Println(b)

	bb := B{10}
	bb.write()
}
